<template>
<el-row>
    <el-form ref="form" :model="formData" label-width="80px">
      <el-form-item label="申请单位">
        {{this.formData.name}}
      </el-form-item>
      <el-form-item label="处置方式">
        {{this.formData.management}}
      </el-form-item>
      <el-form-item label="车辆老旧报废">
        {{this.formData.scrap}}
      </el-form-item>
      <el-form-item label="处置车辆">
        <el-table :data="tableData" style="width: 100%">
           <el-table-column prop="num" label="序号" width="180">
          </el-table-column>
          <el-table-column prop="license" label="车牌号" width="180">
          </el-table-column>
          <el-table-column prop="color" label="车辆颜色" width="180">
          </el-table-column>
          <el-table-column prop="use" label="使用性质">
          </el-table-column>
          <el-table-column prop="reason" label="原因">
          </el-table-column>
          <el-table-column prop="scrap" label="报废依据">
          </el-table-column>
        </el-table>
      </el-form-item>
       <el-form-item label="附件">
         <el-link type="danger":underline="false">{{this.formData.name}}</el-link>
      </el-form-item>
      <el-form-item label="是否通过">
        <el-radio v-model="radio" label="1">通过</el-radio>
        <el-radio v-model="radio" label="2">不通过</el-radio>
      </el-form-item>
      </el-form-item>
      <el-form-item label="活动形式">
        <el-input type="textarea" v-model="formData.desc"></el-input>
      </el-form-item>
     
    </el-form>
    <el-col :span="24">
        <div class="grid-content bg-purple-light">
                <el-button type="primary" @click="save">提交审核</el-button>
        </div>
    </el-col>
   
</el-row>
</template>

<script>
import { axios } from "@/api/axios";
import { mapGetters } from "vuex";
export default {
  props: {
    dialogVisible: {
      type: Boolean,
      default: true
    }
  },
  data: function() {
    return {
      formData:"",
      propers: [], //单位性质
      standards: [], //单位规格
      radio:"",
      tableData:[{
        "num":"1",
        "license":"辽A88888",
        "color":"黑色",
        "use":"",
        "reason":"",
        "scrap":"下载"
      }],
      czff: [
        { name: "调剂", id: 49 },
        { name: "拍卖", id: 50 },
        { name: "报废", id: 51 }
      ],

    };
  },
  computed: {

  },
  created() {
    this.fetchData();
  },
  methods: {
    fetchData() {

    },
    resetForm() {
      this.$refs.form.resetFields();
    },
    save() {

    },
    close() {
      this.$emit("update:dialogVisible", false);
    }
  }
};
</script>

<style lang="scss" scoped>
.s_title {
  background: #f6f6f6;
  height: 40px;
  line-height: 40px;
  padding-left: 10px;
  margin-top: 0;
}
</style>